home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
util
/
dir
/
managers.lha
/
Managers
/
Cli_Master
/
reader.g
< prev
next >
Wrap
Text File
|
1997-01-14
|
1KB
|
56 lines
G4C
winbig 0 11 640 220 "CLI-Master"
wintype 11110001
winout nil:
xonopen
ifexists file env:.tempfile
lvchange reader.g 1 env:.tempfile
else
lvchange reader.g 1 $cmst_select
endif
setvar cmst_fname $cmst_select
gosub reader.g ext
setwintitle reader.g 'File : $cmst_file '
xonclose
lvclear reader.g 1
lvdir climaster $cmst_srce none
delvar cmst_pname
delvar cmst_file
delvar cmst_fname
xlistview 0 0 0 0 "" "" "" 40 num
gadid 1
gadfont topaz.font 8 000
xmenu Project "Load..." "" ""
extract cmst_select path cmst_pname
extract cmst_pname unquote cmst_pname
reqfile -1 -1 300 -40 "Select File.." load cmst_fname $cmst_pname
if $cmst_fname = ""
stop
else
gosub reader.g ext
lvchange reader.g 1 $cmst_fname
setwintitle reader.g 'File : $cmst_file '
endif
xmenu Project "Edit..." "" ""
cli '$DEF.EDITOR $cmst_fname'
lvchange reader.g 1 $cmst_fname
xmenu Project barlabel "" ""
xmenu Project "Exit..." "" ""
guiclose reader.g
xroutine ext
extract cmst_fname file cmst_file
extract cmst_file clean cmst_file
return